<template>
  <div class="cinema-tags">
    <p v-for="item in services" :key="item.name">{{ item.name }}</p>
    <span class="iconfont icon-jiantou" v-if="services.length"></span>
  </div>
</template>

<script>
export default {
  name: 'CinemaTags',
  props: {
    services: {
      type: Array,
      default() {
        return []
      }
    }
  }
}
</script>

<style lang="scss" scoped>
.cinema-tags {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffb232;
  overflow: hidden;
  padding: 0.05rem 0 0.15rem;
  p {
    margin-right: 0.04rem;
    border: 0.5px solid #ffb232;
    border-radius: 0.03rem;
    padding: 0.02rem;
  }
  span {
    font-size: 0.1rem;
  }
}
</style>